<?php
class Plugin_Redirect extends Zend_Controller_Plugin_Abstract
{

    public function preDispatch(Zend_Controller_Request_Abstract $request)
    {
        $serverName = $_SERVER['SERVER_NAME'];
        
        if($serverName != 'galdic.vifito.eu') {
            header('Location: http://galdic.vifito.eu');
            exit(0);
        }
    }

}